<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<title>Breaking changes in 7.3 | ElasticSearch 7.7 权威指南中文版</title>
	<meta name="keywords" content="ElasticSearch 权威指南中文版, elasticsearch 7, es7, 实时数据分析，实时数据检索" />
    <meta name="description" content="ElasticSearch 权威指南中文版, elasticsearch 7, es7, 实时数据分析，实时数据检索" />
    <!-- Give IE8 a fighting chance -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
	<link rel="stylesheet" type="text/css" href="../static/styles.css" />
	<script>
	var _link = 'breaking-changes-7.3.html';
    </script>
</head>
<body>
<div class="main-container">
    <section id="content">
        <div class="content-wrapper">
            <section id="guide" lang="zh_cn">
                <div class="container">
                    <div class="row">
                        <div class="col-xs-12 col-sm-8 col-md-8 guide-section">
                            <div style="color:gray; word-break: break-all; font-size:12px;">原英文版地址: <a href="https://www.elastic.co/guide/en/elasticsearch/reference/7.7/breaking-changes-7.3.html" rel="nofollow" target="_blank">https://www.elastic.co/guide/en/elasticsearch/reference/7.7/breaking-changes-7.3.html</a>, 原文档版权归 www.elastic.co 所有<br/>本地英文版地址: <a href="../en/breaking-changes-7.3.html" rel="nofollow" target="_blank">../en/breaking-changes-7.3.html</a></div>
                        <!-- start body -->
                  <div class="page_header">
<strong>重要</strong>: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" rel="nofollow">当前版本文档</a>。
</div>
<div id="content">
<div class="breadcrumbs">
<span class="breadcrumb-link"><a href="index.html">Elasticsearch Guide [7.7]</a></span>
»
<span class="breadcrumb-link"><a href="breaking-changes.html">Breaking changes</a></span>
»
<span class="breadcrumb-node">Breaking changes in 7.3</span>
</div>
<div class="navheader">
<span class="prev">
<a href="breaking-changes-7.4.html">« Breaking changes in 7.4</a>
</span>
<span class="next">
<a href="breaking-changes-7.2.html">Breaking changes in 7.2 »</a>
</span>
</div>
<div class="chapter">
<div class="titlepage"><div><div>
<h2 class="title">
<a id="breaking-changes-7.3"></a>Breaking changes in 7.3<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/migration/migrate_7_3.asciidoc">edit</a>
</h2>
</div></div></div>

<p>This section discusses the changes that you need to be aware of when migrating
your application to Elasticsearch 7.3.</p>
<p>See also <a class="xref" href="release-highlights.html" title="7.7版本的新特性"><em>7.7版本的新特性</em></a> and <a class="xref" href="es-release-notes.html" title="Release notes">Release notes</a>.</p>
<h3>
<a id="breaking_73_api_changes"></a>API changes<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/migration/migrate_7_3.asciidoc">edit</a>
</h3>
<h4>
<a id="_transform_api_changes"></a>Transform API changes<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/migration/migrate_7_3.asciidoc">edit</a>
</h4>
<p>It is no longer possible to supply the <code class="literal">format</code> parameter when you define a
<code class="literal">date_histogram</code> transform pivot. Previously constructed transforms
will still run but the configured <code class="literal">format</code> will be ignored.</p>
<h3>
<a id="breaking_73_mapping_changes"></a>Mapping changes<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/migration/migrate_7_3.asciidoc">edit</a>
</h3>
<p><code class="literal">dense_vector</code> field now requires <code class="literal">dims</code> parameter, specifying the number of
dimensions for document and query vectors for this field.</p>
<h4>
<a id="_defining_multi_fields_within_multi_fields"></a>Defining multi-fields within multi-fields<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/migration/migrate_7_3.asciidoc">edit</a>
</h4>
<p>Previously, it was possible to define a multi-field within a multi-field.
Defining chained multi-fields is now deprecated and will no longer be supported
in 8.0. To resolve the issue, all instances of <code class="literal">fields</code> that occur within a
<code class="literal">fields</code> block should be removed from the mappings, either by flattening the
chained <code class="literal">fields</code> blocks into a single level, or by switching to <code class="literal">copy_to</code> if
appropriate.</p>
<h3>
<a id="breaking_73_plugin_changes"></a>Plugins changes<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/migration/migrate_7_3.asciidoc">edit</a>
</h3>
<h4>
<a id="_indexstoreplugin_changes"></a>IndexStorePlugin changes<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/migration/migrate_7_3.asciidoc">edit</a>
</h4>
<p>IndexStore and DirectoryService have been replaced by a stateless and simple
DirectoryFactory interface to create custom Lucene directory instances per shard.</p>
<h3>
<a id="breaking_73_search_changes"></a>Search changes<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/migration/migrate_7_3.asciidoc">edit</a>
</h3>
<h4>
<a id="_deprecation_of_queries"></a>Deprecation of queries<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/migration/migrate_7_3.asciidoc">edit</a>
</h4>
<p>The <code class="literal">common</code> query has been deprecated. The same functionality can be achieved
by the <code class="literal">match</code> query if the total number of hits is not tracked.</p>
<h5>
<a id="_deprecation_of_query_parameters"></a>Deprecation of query parameters<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/migration/migrate_7_3.asciidoc">edit</a>
</h5>
<p>The <code class="literal">cutoff_frequency</code> parameter has been deprecated for <code class="literal">match</code> and <code class="literal">multi_match</code>
queries. The same functionality can be achieved without any configuration provided
that the total number of hits is not tracked.</p>
<h3>
<a id="breaking_73_ccr_changes"></a>CCR changes<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/migration/migrate_7_3.asciidoc">edit</a>
</h3>
<h4>
<a id="_directly_modifying_aliases_of_follower_indices_is_no_longer_allowed"></a>Directly modifying aliases of follower indices is no longer allowed<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/migration/migrate_7_3.asciidoc">edit</a>
</h4>
<p>Aliases are now replicated to a follower from its leader, so directly modifying
aliases on follower indices is no longer allowed.</p>
<h3>
<a id="breaking_73_security_deprecations"></a>Security deprecations<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/migration/migrate_7_3.asciidoc">edit</a>
</h3>
<h4>
<a id="deprecate-transport-profile-sec-type"></a>The <code class="literal">transport.profiles.*.xpack.security.type</code> setting is deprecated.<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/migration/migrate_7_3.asciidoc">edit</a>
</h4>
<p>The <code class="literal">transport.profiles.*.xpack.security.type</code> setting is now deprecated. In
8.0, the Java transport client will be removed. All client traffic will use the
HTTP interface instead.</p>
<p>To avoid deprecation warnings,
<a href="https://www.elastic.co/guide/en/elasticsearch/client/java-rest/7.7/java-rest-high-level-migration.html" class="ulink" target="_top">migrate any code for the Java
transport client</a>. Then remove any transport profiles using the deprecated
setting.</p>
</div>
<div class="navfooter">
<span class="prev">
<a href="breaking-changes-7.4.html">« Breaking changes in 7.4</a>
</span>
<span class="next">
<a href="breaking-changes-7.2.html">Breaking changes in 7.2 »</a>
</span>
</div>
</div>

                  <!-- end body -->
                        </div>
                        <div class="col-xs-12 col-sm-4 col-md-4" id="right_col">
                        
                        </div>
                    </div>
                </div>
            </section>
        </div>
    </section>
</div>
<script src="../static/cn.js"></script>
</body>
</html>